Returns the entire string if input is not a number separated by a '.'
A input string in "523.987"
How many decimal places it must contain.
A slice which removes places after the decimal case if there exists more than it should
See Implementation
Returns the entire string if input is not a number separated by a '.'